From 81c0e7af0ed73898b2dab0868552927910f008e9 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sun, 11 Feb 2018 15:37:22 +0000 Subject: [PATCH] selection: Disable deprecation warnings We are using a lot of deprecated API, and we know it. Since the selection code is going to be replaced in GTK 4.0, there's no real point in keeping the warnings enabled in 3.22. --- gtk/gtkselection.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c index 0c1f98d756..9842f2dfc3 100644 --- a/gtk/gtkselection.c +++ b/gtk/gtkselection.c @@ -75,6 +75,9 @@ * associated information. */ +/* We are using deprecated API, here, and we know that */ +#define GDK_DISABLE_DEPRECATION_WARNINGS + #include "config.h" #include "gtkselection.h" -- 2.30.2